TryEnumerateValuesForKey Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Determines if this dictionary contains a key equal to key. If so, all the values associated with that key are returned through the values parameter.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
protected override sealed bool TryEnumerateValuesForKey(
	TKey key,
	out IEnumerator<TValue> values
)
Visual Basic (Declaration)
Protected Overrides NotOverridable Function TryEnumerateValuesForKey ( _
	key As TKey, _
	<OutAttribute> ByRef values As IEnumerator(Of TValue) _
) As Boolean
Visual C++
protected:
virtual bool TryEnumerateValuesForKey (
	TKey key, 
	[OutAttribute] IEnumerator<TValue>^% values
) override sealed

Parameters

key
TKey
The key to search for.
values
IEnumerator<(Of <TValue>)>%
Returns all values associated with key, if true was returned.

Return Value

True if the dictionary contains key. False if the dictionary does not contain key.

See Also